<!DOCTYPE html>
<html>
    <head>
        <title>Friendship link</title>
        <meta charset="utf-8">
        <style>
            .links_01{width:1130px; margin:0 auto; border: 0px solid #000;overflow: hidden; }
            .links_01 ul li{width:126px; border-bottom: 1px solid #ccc; float: left; line-height: 50px; list-style: none; text-align: center;}
            .links_01 ul li a{color:#000; text-decoration:none;}
            .links_form{width:1008px;margin:0 auto; border:1px solid #000;overflow:hidden; margin-top: 10px;}
            .links_set{width:1008px; margin:0 auto; border: 0px solid #00a317 ;overflow: hidden;}
            .links_set input{width:200px; height:30px; border: 1px solid #00B83F ;   border-radius:50px 50px; outline-style: none;  padding:10px;margin:10px;}
            .links_04 ul li{list-style: none}

        </style>
    </head>
    {:widget('Cate/header')}
    <body>
    <div class="breadcrumbs">
        <div class="container_12">
            <div class="grid_12">
                <a href="index.html">Home</a><span></span><a href="#">Category</a><span></span><span class="current">This page</span>
            </div><!-- .grid_12 -->
        </div><!-- .container_12 -->
    </div><!-- .breadcrumbs -->

    <div class="links_01">
        <ul>
        {foreach $data as $row}
           <li><a href="{$row['friends_path']}">{$row['friends_name']}</a></li>

         {/foreach}

        </ul>
    </div>

    <div class="links_form">
        <form action="index" method="post">
    <div class="links_04">
            <ul>
                <li>申请步骤：</li>
                <li>
                    <div >1.</div>
                    <div>请先在贵网站做好Diamonds的文字友情链接：<br /> 链接文字：Diamonds链接地址：http://www.chaseltp5.com
                    <a href="http://www.chaseltp5.com" target="_blank">http://www.chaseltp5.com</a></div>
                </li>
                <li>2.做好链接后，请在下方填写申请信息。Diamonds只接受申请文字友情链接</li>
                <li>
                    <div > 3.</div>
                    <div>已经开通我站友情链接且内容健康，符合本站友情链接要求的网站，经Diamonds管理员审核后，可以显示在此友情链接页面。 </div>
                </li>
                <li>
                    <div > 4.</div>
                    <div >请通过下方提交申请，注明：友情链接申请 </div>
                </li>
            </ul>
    </div>
            <div class="links_set">
                 名称：<input type="text " name="friends_name" placeholder="请输入链接名称"/><br/><br>
                 链接路径：<input type="text " name="friends_path"  value="" placeholder="请填写有效的地址"/><br/><br>
                      <input type="submit" value="提交" />
            </div>
        </form>
    </div>
        {:widget('Cate/footer')}
    </body>
</html>